$grayBg: #fff;
$grayBd: rgb(170, 170, 170);
$deepGrayBg: #f5f5f5;
$deepGrayBd: #ddd;
$whiteBg: #fff;
$blueBg: #337ab7;
$blueBd: #337ab7;
$grayText: rgb(136, 136, 136);
.main-container {
  .main-content {
    .main-content-inner {
      .page-content {
        .page-container {
          background: $grayBg;
          ul{
            margin: 0;
            li{
              list-style: none;
            }
          }
        }
      }
    }
  }
}

.clear-fix {
  clear: both;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}

.broadcast-container {
  border: solid 1px $deepGrayBd;
  background: $deepGrayBg;
  img.broadcast-logo {
    width: 20px;
    margin: 0 10px;
  }
  .swiper_wrap {
    display: inline-block;
    vertical-align: middle;
  }
}


.swiper_wrap {
  position: relative;
	width: 695px;
	height: 40px;
	margin: 0 auto;
  overflow: hidden;
  ul {
    position: relative;
		top: 0;
		left: 0;
		width: 695px;
		float: right;
		color: #444;
		font-size: 14px;
    margin-top: 1px;
    li{
      line-height: 40px;
      display: block;
    }
  }
  .font_inner a{
    color: #444;
    &:hover{
      color: #FA9101;
    }
  }
}

.my-info-container{
  margin-top: 12px;
  height: 100px;
  font-size: 14px;
  border: solid $grayBd 1px;
  .head-img-container{
    display: inline-block;
    text-align: center;
    line-height: 100px;
    img.head-img{
      width: 80px;
      vertical-align: middle;
    }
  }
  .message{
    display: inline-block;
    vertical-align: middle;
    line-height: 100px;
    .message__hight-light {
    }
    .check-link {
      margin-left: 12px;
    }
  }
  .my-btn-group {
    vertical-align: middle;
    display: inline-block;
    line-height: 100px;
    text-align: center;
    a.my-btn{
      display: inline-block;
      text-align: center;
      width: 120px;
      margin: 0 5px;
      height: 32px;
      line-height: 32px;
      text-decoration: none;
      border-radius: 3px;
      &.my-btn__blue{
        background: $blueBg;
        color: #fff;
      }
      &.my-btn__green{
        background: #11ad45;
        color: #fff;
      }
    }
  }
}


.news-panels{
  margin-top: 12px;
  .news-panel{
    .news-panel-container {
      .news-panel-heading{
        padding: 10px 15px;
        color:#333333;
        background: $deepGrayBg;
        border: solid 1px $deepGrayBd;
        border-left: solid 4px $blueBd;
        font-size: 14px;
        .more-link{
          font-size: 12px;
          display: inline-block;
          float: right;
          color: #333;
        }
      }
      .news-panel-body{
        padding: 15px 15px 5px;
        border: solid 1px $deepGrayBd;
        border-top: 0;
        min-height: 222px;
      }
    }
  }
}

.news-list{
  .news-list-item{
    &.news-list-item__normal{
      .news-content{
        height: 30px;
        font-size: 14px;
        a{
          color: #333;
          display: block;
          .news-title{
            line-height: 30px;
            display: inline-block;
          }
          .news-date{
            line-height: 30px;
            display: inline-block;
            text-align: right;
          }
        }
      }
    }
    &.news-list-item__detail{
      margin-bottom: 5px;
      img{
        width: 160px;
      }
      .news-content{
        .news-title{
          font-size: 16px;
        }
        .news-body{
          font-size: 14px;
          margin-top:18px;
          color: $grayText;
        }
      }
    }
  }
}

.assets-list {
  .assets-list-item{
    position: relative;
    padding-left:12;
    padding-right: 24px;
    border-bottom: solid 1px $deepGrayBd;
    margin-bottom: 18px;
    padding-bottom: 18px;
    p{
      margin: 0;
    }
    a{
      display: block;
      color: inherit;
    }
    .money {
      font-size: 16px;
    }
    .assets-list-item-body {
      padding: 0;
      height: 46px;
      display: inline-block;
      line-height: 23px;
      padding-bottom: 18px;
    }
    &:nth-child(2n-1) {
      padding-right: 60px;
      &::after{
        content: '>';
        display: block;
        position: absolute;
        width: 10px;
        height: 20px;
        top:50%;
        right: 36px;
        margin-top: -18px;
      }
    }
    &.no-item:nth-child(2n-1) {
      &::after{
        display: none;
      }
    }
    &:nth-child(2n) {
      padding-left: 24px;
      padding-right: 36px;
      &::before{
        content: '';
        display: block;
        position: absolute;
        width: 1px;
        height: 40px;
        background: $deepGrayBd;
        top: 50%;
        left: -10px;
        margin-top: -28px;
      }
      &::after{
        content: '>';
        display: block;
        position: absolute;
        width: 10px;
        height: 20px;
        top:50%;
        right: 10px;
        margin-top: -18px;
      }
    }
  }
}

.news-center{
  margin-top: 12px;
  border: 1px solid $grayBd;
  .news-center-head{
    padding: 20px;
    .title {
      font-size: 16px;
    }
  }
  .news-center-body{
    ul.news-center-list{
      padding-top: 56px;
      li.news-center-list-item{
        padding-bottom: 32px;
        a{
          color: #333;
        }
        .date{
          font-size: 18px;
         color: $grayText;
        }
        .title{
          font-size: 16px;
          padding: 10px 0px;
          border-bottom: solid 1px $deepGrayBd;
          position: relative;
          p{
            margin: 0;
            padding: 0 30px 0 0;
            max-height: 24px;
            min-height: 24px;
            line-height: 24px;
            text-overflow: ellipsis;
            overflow: hidden;
            word-wrap: break-word;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
          }
          &::after{
           content: '>';
           position: absolute;
           display: block;
           right: 5px;
           top:50%;
           width: 10px;
           height: 20px;
           margin-top:-12px;
          }
        }
        .desc {
          color:$grayText;
          margin: 10px 0;
          height: 36px;
          text-overflow: ellipsis;
          overflow: hidden;
          line-height: 18px;
          word-break: break-word;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
        }
      }
    }
    nav.paginate{
      padding: 24px 0;
      margin: 12px 12px;
      border-top: 1px solid $deepGrayBd;
    }
  }
}
.news-type-btns{
  a.news-btn{
    text-decoration: none;
    text-align: center;
    display: inline-block;
    color: #333333;
    font-size: 14px;
    margin: 0 6px;
    border: solid $grayBd 1px;
    width: 96px;
    padding: 4px;
    border-radius: 3px;
    &.active{
      color: #fff;
      background: $blueBg;
      border-color: $blueBd;
    }
  }
}
.news-box {
  .news-box-tools {
    
  }
  .news-box-head {
    padding-top: 60px;
    margin-bottom: 18px;
    .title{
      font-size: 18px;
    }
    .meta{
      font-size: 16px;
      color: $grayText;
    }
  }
  .news-box-body {
    position: relative;
    padding: 18px 20px 18px 12px;
    border-top: 1px solid $deepGrayBd;
    .tools{
      position: fixed;
      right: 2px;
      bottom: 40px;
      width: 30px;
      text-align: center;
      line-height: 38px;
      a{
        text-decoration: none;
        color: $grayText;
      }
      .tools-btn {
        border: 1px solid $deepGrayBd;
        font-size: 14px;
        padding: 6px;
      }
    }
    p {
      margin: 0;
      padding: 0;
      text-align: left;
    }
    img {
      display: block;
      margin: 12px auto;
      max-width: 100%;
    }
  }
}

#chart {
  #detail {
    height: 240px;
    width: 100%;
    border: 1px solid $deepGrayBd;
  }
  margin-top: 12px;
  padding-right: 0;
}

#tab {
  margin-top: 12px;
  padding-left: 0;
  .info {
    border: 1px solid $deepGrayBd;
    border-left: 0;
    height: 240px;
    ul.nav-tabs {
      background: #F9F9F9;
      padding-left: 12px;
      li {
        a{
          border: 0;
          border-bottom: 1px solid #c5d0dc;
          margin-top: 2px;
          color: $grayText;
        }
        &.active {
          a{
            border: 1px solid #c5d0dc;
            border-bottom: 0 !important;
            margin-top: 2px;
            box-shadow: inherit;
            color: #333;
          }
        }
      }
    }
    .tab-content {
      border:0;
      .tab-pane {
        .title{
          padding: 10px;
          font-size: 14px;
          .color-box {
            display: inline-block;
            width: 20px;
            height: 10px;
          }
          p{
            margin:0;
          }
          width: 100px;
          display: inline-block;
        }
        .money {
          padding: 0 10px;
          font-size: 32px;
          display: inline-block;
        }
      }
    }
  }
}